WorkDistributeFormCtl = Ext.extend(FormCtl, {

			configItems : function(config) {

				var items = {

					taskdetail : this.getTextArea('分配策略', 'taskdetail',100,300),

					id : this.getHiddenField('id', 'id'),
					
					status : this.getHiddenField('status', 'status')
				};

				var groupItems = [items.taskdetail, items.id,items.status];

				config.items = groupItems;
				this.items = items;

				return config;

			},
			getCommonConfig : function() {

				var config = {
					split : true,
					autoScroll : true,
					region : 'center',
					layout : 'form',
					labelAlign : 'right',
					labelWidth : 100,
					frame : true
				};

				return config;

			},
			load : function(id) {

				var items = this.items;
				items.id.setValue(id);
				items.status.setValue(1);//task的status变成已分配，正在工作状态

			},
			getSubmitUrl : function() {

				return 'task.do?m=assignWork';

			},
			getParams : function(config) {

				return config;

			}
		});
